package com.cloud.annotation.Depends;

import org.springframework.context.annotation.DependsOn;
import org.springframework.stereotype.Component;

@Component
@DependsOn(value = "dependsB")
public class DependsA {
    public DependsA() {
        System.out.println("我是DependsA");
    }
}